home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 028a / autosn33.zip / SCANIT.BAT < prev   
DOS Batch File  |  1991-07-09  |  759b  |  23 lines

  1. echo off
  2. Rem Set AUTOSCAN=E\UTIL  <- Set this if AutoScan tells you to (See the Docs)
  3. AUTOSCAN /q %1 %2 %3 %4
  4. rem ErrorLevel 1 - AutoScan error or no disk space
  5. rem ErrorLevel 2 - No New Files.
  6. rem ErrorLevel 3 - Bad Archive - Will rename to filename.BAD  
  7. rem ErrorLevel 4 - virus found - Will rename to filename.BAD
  8. if errorlevel 4 goto virus
  9. if errorlevel 3 goto exit
  10. if errorlevel 2 goto exit
  11. if errorlevel 1 goto exit
  12. :Novirus
  13. rem Ad is my batch file to add Zip Comments
  14. call c:\dos\ad *.zip
  15. goto exit
  16. :Virus
  17. echo ********************** WARNING *************************
  18. echo * Possible Virus - Read AUTOSCAN.LOG for details!!!!!! *
  19. echo ********************************************************
  20. :exit
  21. rem SET AUTOSCAN=
  22. rem All Done
  23.